// 有关跨域的东西配置在此处
module.exports = {	
  devServer: {
	port:8050,
     proxy: {
       '/api': {
         target: 'http://localhost:8080',
         ws: true,
         changeOrigin: true,//开启跨域
         pathRewrite: { // 用api替代http://localhost:6377
             '^/api': '' 
         }
       }
     }
  }
}
